<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page import="com.net.domain.UserType,com.net.domain.User,com.net.domain.Student,com.net.domain.Staff" %>

<table border="1" width="100%" style="height:100%;">

<tr><td><a href="/MamNet/user/login">Log out</a></td></tr>                    	              
<tr><td><a href="/MamNet/user/updateDetails">Update Profile</a></td></tr>
<%
	User user=(User)session.getAttribute("user");
	if(user.getUserType() == UserType.STAFF.getUserType()) {
		%>
		<tr><td><a href="/MamNet/attendance/enterAttendance">Enter Attendance</a></td></tr>
		<tr><td><a href="/MamNet/mark/enterMarks">Enter Mark</a></td></tr>
		<%
	}
%>
<%

	if(user.getUserType() == UserType.STUDENT.getUserType()) {
		%>
		<tr><td><a href="/MamNet/attendance/reportStudentAttendace">View Attendance</a></td></tr>
		
		<%
	}
%>
<tr><td>Link1</td></tr>
<tr><td>Link1</td></tr>
<tr><td>Link1</td></tr>
<tr><td>Link1</td></tr>

</table>
